package Level02_three;

public class ActedParrot extends Parrot implements Actor {

    @Override
    public void play() {
        System.out.println(super.getAge()+"岁的"+super.getColor()+"鹦鹉在表演过跷跷板");
    }

    public ActedParrot(String color, int age) {
        super(color, age);
    }

    public ActedParrot() {
    }
}
